﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.Rules
{
    /// <summary>
    /// 
    /// </summary>
    public interface IEvaluator
    {
        event ObjectUpdatedAfterEvaluation OnObjectUpdated;
        /// <summary> 
        /// when evaluable gets updated, it throws an event to 
        /// let caller know its effects
        /// </summary>
        /// <returns>must return a boolean value</returns>
        bool Evaluate();
    }
}
